package huoye.shops.huoye.mine.widget;

import android.content.Context;
import android.view.View;
import android.widget.TextView;

import com.codeideology.android.widget.ios.dialog.base.BaseDialog;

import huoye.shops.R;


/**
 * Created by uesr on 2018/8/11.
 */

public class VersionsHintDialog extends BaseDialog<VersionsHintDialog> {



    private TextView tvLeft;



    public VersionsHintDialog(Context context) {
        super(context);

    }

    @Override
    public View onCreateView() {
        widthScale(0.75f);
        View inflate = View.inflate(context, R.layout.versions_hint_title, null);
        tvLeft = (TextView) inflate.findViewById(R.id.dialog_hint_title_tv_left);

        return inflate;
    }

    @Override
    public void setUiBeforShow() {
       tvLeft.setOnClickListener(new View.OnClickListener() {
            @Override
            public void onClick(View view) {
                dismiss();
            }
        });
    }



}
